package cn.csc.module.member.api.browsinghistory.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigInteger;
import java.time.LocalDateTime;

/**
 * @author 云隐
 * @date 2025/1/3
 **/
@Api(tags = "RPC 服务 - 访问商品 Response DTO")
@Data
public class ProductBrowsingHistoryRespDTO {
    @ApiModelProperty(value = "用户Id")
    private BigInteger userId;

    @ApiModelProperty(value = "商品ID")
    private BigInteger spuId;

    @ApiModelProperty(value = "最新浏览时间")
    private LocalDateTime viewTime;

    @ApiModelProperty(value = "浏览次数")
    private Integer viewCount;
}
